import axios from '@/libs/api.request'
// 查询日志
export const logList = (data) => {
  return axios.request({
    url: '/api/log/list',
    method: 'post',
    data: data
  })
}

// 获取操作系统
export const demandResourceList = (data) => {
  return axios.request({
    url: '/oms/platform/resource/list',
    method: 'post',
    data: data
  })
}

// 批量删除日志
export const delSelectLogList = (data) => {
  return axios.request({
    url: '/api/log/delete',
    method: 'post',
    data: data
  })
}
// 导出日志
export const exportLog = (data) => {
  return axios.request({
    url: '/api/log/export',
    method: 'post',
    data: data,
    responseType: 'blob'
  })
}
